﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BMSQ.Admin.Accounts.Node
{
    public partial class Show : Page
    {
        public string strid = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                if (Request.Params["nodeID"] != null && Request.Params["nodeID"].Trim() != "")
                {
                    strid = Request.Params["nodeID"];
                    string NodeID = strid;
                    ShowInfo(NodeID);
                }
            }
        }

        private void ShowInfo(string NodeID)
        {
            Vincent.Permission.Model.account_nodeslist model = Vincent.Permission.Functions.Account.GetSinglMenu(NodeID);// bll.GetModel(NodeID);
            this.lblText.Text = model.Text;
            this.lblParentID.Text = model.ParentID;
            this.lblUrl.Text = model.Url;
            this.lblDescription.Text = model.Description;
            this.lblOrderID.Text = model.OrderID.ToString();
        }


    }
}